package com.everwin.web.domain;

public class SimpleTaskInfo {

    private String taskId;
    private String userName;
    private String taskDefinitionKey;
    public boolean current;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskDefinitionKey() {
        return taskDefinitionKey;
    }

    public void setTaskDefinitionKey(String taskDefinitionKey) {
        this.taskDefinitionKey = taskDefinitionKey;
    }

    public boolean isCurrent() {
        return current;
    }

    public void setCurrent(boolean current) {
        this.current = current;
    }

    public SimpleTaskInfo(boolean current) {
        setCurrent(current);
    }

    public SimpleTaskInfo(String taskId, String userName, String taskDefinitionKey) {
        this.taskId = taskId;
        this.userName = userName;
        this.taskDefinitionKey = taskDefinitionKey;
    }
}
